Quiz#55 (GIT 7) - CPSAT Foundation Preparation Series
Quiz by Agile Testing Alliance 
Email *
You can use SSH keys for Git authentication.
Clear selection
git add adds changes to the staging area only.
Clear selection

git reflog shows a list of all references.

Clear selection
git merge can only merge two branches.
Clear selection
git status also shows the changes in remote repository.
Clear selection
git fetch merges changes from the remote repository.
Clear selection

git rm can only remove tracked files.

Clear selection
git checkout can switch to a different branch.
Clear selection
git pull is equivalent to running git fetch followed by git merge.
Clear selection
You can't use Git without a remote repository.
Clear selection
The .git directory should be kept private.
Clear selection
It's a good practice to commit often in Git.
Clear selection
git reset alters commit history.
Clear selection
git commit is used to save changes to the local repository.
Clear selection
git init initializes a new repository in the current directory.
Clear selection
git push -u origin master sets the upstream for the master branch.
Clear selection
git log --oneline shows each commit as a single line.
Clear selection
git stash list lists all stashed changesets.
Clear selection
git remote add creates a new connection to a remote repository.
Clear selection

git revert is used to discard commits in a safe way.

Clear selection
Submit
Clear form
This content is neither created nor endorsed by Google.