Setting password for git user

Hi Team,

Is it possible to set password for git user ?? If possible ,do we need to make changes in configuration file so we should not face any issues while doing regular git activities?

Thanks