added save gitlink function