When a new bare git repo says “does not appear to be a git repo”

If you ever just created a bare git repository to act as a server-side only repo, and then immediately attempt to push a new local repo up to sync the initial version, and you get an error, it is probably caused by the fact that the path specified is a relative path.  if using ssh:// […]