Load git-annex during init
Use dired-omit-mode instead of dired-omit-files-p

`dired-omit-files-p' is obsolete.

Also, I should have been using `setq-default' to set
`dired-omit-files-p' since it is buffer local, but this was changed to
`setq' when I was reorganizing.