Git · Junior · Question 17 of 75
What is a branch in Git?
- ✓Correct answer: A movable pointer to a commit
- 2A separate repository on the server
- 3A full copy of the project folder
Explanation
A branch is a tiny file containing a commit hash; when you commit on it, the pointer moves forward. That's why creating and switching branches is instant.