Fix git_* function call
Allow version to be specified for git_export command