I've installed postgresql onto my pc and am trying to use the "createdb" function through git bash. I was just curious why it is asking me for a password for what i'm intending to be the name of the database i'm trying to create. I can confirm that I've started and restarted postgresql working locally on my PC.
My command:
$ psql createdb foo
Password for user foo: <(not really sure what to put here)>
Error:
psql: error: could not connect to server: FATAL: password authentication failed for user "foo"