Add git credential cache for https:// remotes.

The credentials are now cached for an hour before they have
to be entered again by the user.