If it is asking for your password, it means it tries to authenticate with your login.
That means, if the repo was cloned (using your password), a git remote -v
must show an url like:
https://YourLogin@server/path/to/repo
You can instruct the user to change the remote url named 'origin
' with:
git remote set-url origin https://HisLogin@server/path/to/repo