class Git::Remote

A remote in a Git repository

Remote objects provide access to remote metadata and operations like fetch, merge, and remove. They should be obtained via ‘Git::Repository#remote`, not constructed directly.

@example Getting a remote

git = Git.open('.')
remote = git.remote('origin')
remote.fetch

@api public