Add some flags for git on publish docs.