Parse git repository location