@kopper @hazelnoot init a non-bare repo, then `git config receive.denyCurrentBra...
grawity @grawity@treehouse.systems
@kopper @hazelnoot init a non-bare repo, then `git config receive.denyCurrentBranch updateInstead`
otherwise there is a collection of probably 10+ methods (which predate that option's existence) for having a bare repo's `hooks/post-receive` script deploy the last commit to some location https://gitolite.com/deploy.html
as far as I can tell git+ssh does work for Windows clients out of the box, at least I don't remember it having ever outright broken since WinXP days – though it does make you decide between 3 different SSH clients
i.e. if you're normally using the Windows ssh-agent then you have to set `GIT_SSH=` to use the Windows ssh.exe and not Git's MSYS ssh.exe – and/or otherwise keep in mind that the two have different ideas about what "$HOME/.ssh/id_rsa" expands to... but ultimately it's one config parameter, not really hours of trying to glue it together