[Version Control] Rebase to remote branch

Improved logic. Only fetch changes if it's a rebase to remote.