remove '#' from git related patterns