It’s not a good practice to have environment files specific to a developer.
Sure he can do it in a separate branch but no .env file should be created.

What each developer can do is replace the contents of .env.dev file to test anything different than the dev env

Passionate about Clean code and SOLID Architecture