This is a followup to:
How do I fetch only one branch of a remote git repository?
Which references:
https://www.kernel.org/pub/software/scm/git/docs/git-fetch.html
And which relies on understanding the refspec pattern of usage of git fetch:
git fetch [<options>] [<repository> [<refspec>…]]
To understand that usage pattern, an understanding of "refspec" is needed. For example:
The question which was asked was how to fetch a single branch (of a remote repository), with one popular answers:
git fetch <remote_name> <branch_name>
This answer is also popular:
git remote add -t <remote-branch-name> <remote-name> <remote-url>
My question is: How does one figure out how to reach that first form from the git fetch and refspec documentation?
I'm asking because "git fetch" is a very basic git operation, one of the starting commands for git beginners, and I'm finding myself at a loss to capture an adequate explanation of the command.