The file https://github.com/tanafaso/tanafaso-frontend/blob/master/lib/net/api_interface/azkar/requests/get_categories_response.dart is not ignored by git, and that's expected as I have only listed azkar/ in .gitignore which means that only the directory azkar/ under the root should be ignored.
However, git check-ignore thinks that the file will be ignored and that it satisfies the pattern azkar/.
➜ azkar-frontend git:(master) ✗ git check-ignore --verbose lib/net/api_interface/azkar/requests/get_categories_response.dart
.gitignore:20:azkar/ lib/net/api_interface/azkar/requests/get_categories_response.dart