Assessment: Collaborating with GIT

Oct 2, 2014 • Matthew Aiello-Lammens

This is testing section 3 in Collaborating with GIT.

Question 1:

Matt is using GIT and GitHub to collaborate with a group of scientist who are all at different institutions. He has just finished a series of edits to some analysis Python code, and has used the command “git commit” to commit his changes locally. He would now like to share his changes with the group. He know’s the other members of the group have also been working on this code. What will he do next?

a) git push origin master

b) git pull origin master

c) git add —all

d) scp master origin

Question 2

A collaborator has sent you a url address for a GitHub repository. You would like to create a local copy of this repository on your computer. Which Git command is most appropriate for completing this action?