Serving your git repository on local network

Sometimes, I want to access a git repository without pushing it to a central remote. Turns out it's very easy to serve and/or access ssh repositories, easier than creating patches that don't retain author information and commit messages. When I have ssh access to a machine where the repository …