Versioning: Git Terms

This test examines Git terms and commands. It assesses how well the user understands these terms and their meanings.

Sample Questions

  1. What does the HEAD in Git mean?

    • It's a special type of branch.
    • It is the first commit in a repository.
    • It stores all branch information.
    • It points to the current commit in the current branch.
  2. What should be considered with the Git command 'push'?

    • It sends local commits to a remote repository.
    • It shows the differences between commits.
    • It creates a new local branch.
    • It updates the local branch with changes from the remote.
  3. What does the 'git fetch' command do?

    • It immediately updates and merges the local branches.
    • It retrieves data from the remote repository without merging them.
    • It irreversibly deletes local changes.
    • It temporarily stores changes for later application.