Move to the Project directory in the command prompt
cd \Project\Directory\Path
git config --global --unset credential.helper
git config credential.helper store
git fetch
Enter credentials when prompted