I\'m trying to learn how to use Git and have created a small project with an HTML, CSS, and Javascript file. I made a branch from my basically empty project and then made so
use following command in case you are facing Another git process seems to be running in this repository e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.
rm -f .git/index.lock
git reset and after reset command use git status, git add, and git commit -a or git commit -m "your message", git push origin master.