Deploy code from a git repository. Optionally run some shell before and after.