If you want to backup or to use the same password file on different computers it's not uncommon to have it uploaded somewhere.
On the other hand a lot of people store dotfiles on the cloud, at which point if somebody gets access it's probably easier to stole the information by modifying something like the .bashrc file.