Adding to the local repository
git add.
Add submitted description
git commit -m 'content'
Before submission to the remote repository start pulling the main branch request
git pull origin master
Code submitted to the local repository
git push -u origin master