How do I fetch only one branch of a remote Git repository?
I love learning about technology and sharing that with others
Motivation
There are times when i just wanted to clone the changes made by my colleagues and i wanted to check those changes in my local
How to do this
git fetch origin branch-name
git checkout branch-name
in most of the cases the remote is name as origin and we can follow this step to clone and use a particular branch in local

