set password git checkout branch code example
Example 1: git clone with username and password
git clone https://username:[email protected]/username/repository.git
Example 2: git clone with username and password
git clone https://[email protected]/username/repository.git