Posted on Tuesday, August 4, 2020 at 4:55 AM into c#, gotcha & development by Steve Woods.Roughly a 1 minute read.
If you cannot push/sync changes in your local repository to a remote, your lock file may be corrupt.
To solve it, delete the file "~\.git\refs\remotes\origin\master.lock" within your repository then attempt to resync your changes.