A file begins with . that is hidden file on unix based. Mostly use as configuration file ex.
.bashrc- What are dotfiles?
Keep dotfiles with github like backup yours machine’s setting. Your can move to new machine with same feeling from old one by restore dotfiles backup.
For My OSX Dev Developement, I use