Pass the current working dir to subprocess.Popen
Allow to pass environment variables to run git command
Replaces generic rebase command with `edit_revision`
Use config value instead of trying to guess the path to git