git clone ${userName}:${password} code example Example: git clone with username and password git clone https://[email protected]/username/repository.git