added routes for git functions, also added closing php tag