Use $DOKKU_ROOT instead of '/home/git'.