Invalid Git repository

Thanks for sharing that output. I’m reasonably sure this is caused by using the semenov.ws host name in both the [production] group (hosts/production file) and the [staging] group (hosts/staging file). See if the following sorts it out: