How do I fetch only one branch of a remote Git repository?

git fetch <remote_name> <branch_name>

Worked for me.

Leave a Comment