Knowledge check

Completed
1.

Which of the following statements is true about branches in Git?

2.

Which of the following Git commands creates a new branch, and then changes your working location to the new branch?

3.

Suppose you try to merge changes from your local branch into the project repo, but Git returns a merge conflict error. What command can you use to restore the default (main) branch to its correct state?

4.

Which of the following samples is an accurate view of what Git might show for a merge conflict between the my-penguins branch and the main branch?