git-push: use temp dir and try to support notifications on linux and mac