When I used git init . in the directory whose contents were about to be stored using git, it dutifully created a local repository in a subdirectory named .git.
Under macOS, this is annoying, since by default any .xxxx file is "hidden".
How can I use a different name than
.gitwithout it affecting use of subsequentgitcommands?If I move the (renamed)
.gitto another local directory, how do I modify subsequentgitcommands so they will find the repository?