Use the 'rev' arg in git.rebase, Fix #4767
Add to doc examples for remote rebases