troubleshooting git Permission to userA/x denied to userB This might be an uncommon issue and hard to debug. Issue on Mac, when git push -u origin master to a remote repo through https, you might encounter this err: remote: Permission to