git clone using branch name code example Example: clone a particular branch git clone -b <branch> <remote_repo>