I'm aware that this is probably a basic question, but I am new to both Git and command line. A colleague set up my mac to access a repository at work, but now I need to change it so that commits are under my name. His login details are also preventing me from accessing my own repository, giving me the 403 below:
remote: Permission to name/repo.git denied to aColleague. fatal: unable to access 'https://github.com/name/repo.git/': The requested URL returned error: 403
Any suggestions on how I can change this through the terminal please?