Make git update script more general - not restricted to GitHub