remote: reorganize check_pattern_match()
[git] / templates / branches--
1 : this is just to ensure the directory exists.