Git: fix last_commit() and cache last_remote_commit()