adapt to git