Reorganize git directory and add git templates.