how to clone and work on git code example Example: clone branch git git clone <repository_url> git branch -a git checkout <branch_name>