EduFlow
Git & GitHub

Checkpoint: Collaborating on GitHub

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

git status says Your branch is up to date with 'origin/main', but GitHub shows a commit on main you don’t have. Why?

Question 2 of 5

You push a new branch with git push and get fatal: The current branch contact-form has no upstream branch. What’s going on?

Question 3 of 5

Your team wants main to get exactly one commit per pull request, titled after the pull request. Which merge method fits?

Question 4 of 5

You cloned your fork of a project. git remote -v lists only origin, pointing at your fork. How do you get the original project’s latest commits?

Question 5 of 5

Your pull request says Fixes #31 and was merged into the develop branch, but issue 31 is still open. The repository’s default branch is main. Why?

5 questions unanswered