Remove a git remote from the given directory.
The directory where the git repository is located.
The name of the remote to remove (defaults to 'origin').
A promise that resolves when the remote is removed.
Remove a git remote from the given directory.