*If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a match against the pathname without leading directories.
â ¢If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a match against the pathname without leading directories.