made compatible to stage git