I'm using make4ht as a replacement of the old htlatex to convert a tex file into HTML (see this post for detail: Is the htlatex tool of the latest texlive broken?)
With the following command, the html is able to be generated successfully under out/html:
make4ht -d "out/html" "Main.tex"
Unfortunately, I found the following files under the current directory:
Main.4ct
Main.4tc
Main.aux
Main.css
Main.dvi
Main.html
Main.idv
Main.lg
Main.log
Main.tmp
Main.xref
Since these files are not under out, they are now corrupting my version control, is there a ways to avoid this?