git.py: adds update() function

This function will call git remote set-url, replacing the old url
with the new provided by overlay.update().