Write location to global git var for reuse on first use