Clone a particular remote brach using git clone command

Git Clone branch cover

If you want to clone a remote repository in git, but you do not want to clone out the default master of the main branch from the origin, well you can do that using the following way,

git clone -b <branch_name> <remote_repo_url> 

% git clone us-east-1-branch
Git clone a specific branch from remote origin

Have Questions? Post them here!