improviments on gitp function
fix commit