Git push gained the ability to change the remote working directory - but only if that copy of the repo has been set up to allow it.
1) You're pushing to a remote server which has a checkout of the working copy as the live version of something, e.g. a webapp.
2) You're pushing to a co-workers repository to allow them to see updates (though probably a less likely scenario)