Added function for syncing git repos