prepare postcommit for work with git