setting set-url to git bash default code example Example: change remote repository git git remote set-url origin [email protected]:/your-repository.git