get git things through php