Same here, I am doing a mess between commits, copying and comparing random files, hardcoding secrets for a quick test... To think that it ends up upstream is a thing of nightmares.
I know, gitignore could help, but it eliminates the convenience of being flexible/quick&messy.