🌍 All Study Guides📊 Dashboard📰 Blog💡 About
Google IT Automation with Python Professional Certificate • STUDY MODE

INTRODUCTION TO GITHUB

QUESTION 1 OF 6

When we want to update our local repository to reflect changes made in the remote repository, which command would we use? Right on! git pull updates the local repository by applying changes made in the remote repository.

A
git clone <URL>
B
git push
C
git pullCorrect Answer
D
git commit -a -m
QUESTION 2 OF 6

git config --global credential.helper cache allows us to configure the credential helper, which is used for ...what? Nice work! By configuring the credential helper, we can avoid having to type in our username and password repeatedly.

A
Troubleshooting the login process
B
Dynamically suggesting commit messages
C
Allowing configuration of automatic repository pulling
D
Allowing automated login to GitHubCorrect Answer
QUESTION 3 OF 6

Name two ways to avoid having to enter our password when retrieving and when pushing changes to the repo. (Check all that apply) Awesome! The credential helper caches our credentials for a time window, so that we don't need to enter our password with every interaction. Great job! We can create an SSH key-pair and store the public key in our profile, so that GitHub recognizes our computer.

A
Implement a post-receive hook
B
Use a credential helperCorrect Answer
C
Create an SSH key-pairCorrect Answer
D
Use the git commit -a -m command.
QUESTION 4 OF 6

Name the command that gathers all the snapshots we've taken and sends them to the remote repository. Excellent! git push is used to update the remote repository with our local changes.

A
git commit -a -m
B
git pushCorrect Answer
C
git pull
D
git clone <URL>
QUESTION 5 OF 6

Which BEST describes GitHub? Nice job! GitHub provides free access to a Git server for public and private repositories

A
A distributed Version Control System (VCS)
B
A Software Configuration Management system (SCM)
C
A remote repository hosting service for GitCorrect Answer
D
A wiki site for Git users
QUESTION 6 OF 6

After making changes to our local repository, how do we update the remote repository to reflect our changes? Awesome! The git push command gathers all the snapshots we've taken and sends them to the remote repository.

A
Use the git clone command to clone the repository to the server.
B
Use the git push command to send snapshots to the remote repository.Correct Answer
C
Upload a README.md file with Markdown.
D
Use the Create a repository form on the website

Ready to test your recall?

When we want to update our local repository to reflect changes made in the remote repository, which command would we use? Right on! git pull updates the local repository by applying changes made in the remote repository.

A
git clone <URL>
B
git push
C
git pull
D
git commit -a -m

How confident are you in this answer?