deploy a directory as a git branch