ExamDumpster

Free GH-900 sample questions

Real questions from the GitHub Foundations practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 8 of 17 free sample questions.

Question 1Choose one

A development team is transitioning from a centralized version control system to Git and GitHub. They are confused about the distributed nature of Git compared to their previous system. Which statement accurately describes the fundamental architectural difference regarding repository history in this transition?

Question 2Choose one

You have initialized a new local project and created several files. You want to save the current state of your project to your local Git history. Which sequence of commands represents the correct workflow to permanently record these changes in the local repository?

Question 3Choose one

A developer attempts to push local commits to a remote repository but receives a 'non-fast-forward' error. This indicates that the remote branch contains commits that are not present locally. What is the safest command to resolve this situation without losing history, assuming the developer wants to incorporate the remote changes before pushing?

Question 4Choose one

You are investigating a bug in a specific file and need to identify exactly which commit introduced a specific line of code and who the author was. Which GitHub interface feature provides this line-by-line revision history?

Question 5Choose one

A user needs to authenticate Git operations with GitHub using HTTPS but has Two-Factor Authentication (2FA) enabled on their account. What credential must they use in place of their account password when prompted by the command line?

Question 6Choose one

You are working on a feature branch and want to incorporate the latest changes from the `main` branch into your work to ensure compatibility. You want to maintain a linear history without creating an extra merge commit. Which command should you use?

Question 7Choose one

Which of the following files is ESSENTIAL for excluding specific local files, such as build artifacts or environment secrets, from being tracked by Git?

Question 8Choose 2

Select TWO valid reasons for 'forking' a repository instead of 'cloning' it in the GitHub ecosystem. (Select TWO)

9 more free samples are waiting

Create a free account to unlock the whole GH-900 sample bank, or get full access to all 250 practice questions in the simulator.

Create account