Git Commit 01


Learn how to work with Git Branches


  1. Pick up a Git repository (or create a new one) with at least one commit
  2. Create a new branch called “dev”
  3. Modify one of the files in the repository
  4. Create a new commit
  5. Verify the commit you created is only in “dev” branch

After you complete the exercise

Answer the following:

  1. Why branches are useful? Give an example of one real-world scenario for using branches