The fetch() method for git will call git fetch --all ; this causes issues when user has multiple remotes. We are able to simply call 'fetch' because by default the origin remote will be used. From git help fetch: > When no remote is specified, by default the origin remote will be used, unless there's an upstream branch configured for the current branch. Signed-off-by: Nathan Genetzky <nathan@genetzky.us> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>