This error message can actually stem from a stale lock file, e. g. after a previous git push died of a signal. In this case, it will help to delete /var/lock/apache2/DavLock on the server.
This error message can actually stem from a stale lock file, e. g. after a previous git push died of a signal. apache2/ DavLock on the server.
In this case, it will help to delete /var/lock/