Another git process seems to be running in this repository - GitDro/tech-tips GitHub Wiki

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.

Likely happens when two git commands executed, e.g. one from WSL one from R Studio.

Solution: Delete index.lock file in your .git directory.

rm -f .git/index.lock