Changed checkout treeish argument from NULL to 'HEAD'