extended template and added undo_commit file for undoing git commits