1. To configure Git to cache credentials for each local directory where you clone a repository, enter the following command. ```shell{:copy} git config --global credential.useHttpPath true ```