In order to be able to commit on remote repositories, you will have to ensure that you configured your username and email address on your git local and have access to the remote repo
- to check your git configuration run this on your command line either globally or on the specific folder you are working on:
- If you haven’t had any git configuration, you can add them globally or locally on the working folder
- Add username: on your command line, run:
git config --global user.name "USER_NAME"
- Add email address that you have the access to remote:
git config --global user.email "Name.email@example.com"
- Add username locally:
git config user.name "USER_NAME"
- Set your email address locally
git config user.email "Name.firstname.lastname@example.org"
- then check if all correct: