[lib] Add ability to avoid the confirmation prompt

Make the `dotfiles.sh` script avoid the confirmation prompt when
the `-f` option is present.
Add `.gitattributes`

See also: https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html