- Take me to Practice Test
Solutions to practice test - fetching and pulling
-
Run git checkout master; git fetch origin master to fetch remote changes
$ git checkout master $ git fetch origin master
-
To view all the branches- both local and remote - run the git branch -a command.
$ git branch -a
-
Run git merge origin/master
$ git merge origin/master
-
Run git pull origin master
$ git pull origin master
-
Run the ls command while in the master branch
$ ls