git clone bare make remote code example Example: clone branch git git clone <repository_url> git branch -a git checkout <branch_name>