Github recognized my VBA(.bas) file as a FreeBasic

I committed VBA files into my repository, but some of them have been recognized as FreeBasic files, not VBA files.
They have the same extesion (.bas), so I wonder how Github divide them into each category.
Isn’t there any way to make it recognized as a VBA file?

Thank you for your help & take care of your health.


As @jsoref pointed out, GitHub Linguist is the solution when it comes to specifying to which language file extensions should be associated, or how to handle statistics (e.g. excluding vendored or generated files, documentation, ecc.).

You basically add Linguist definitions in your repository .giattributes file. Here’s the documentation: