A https://github.com/dbc/gxrefclone adapted for my personal work flow.