Change temporary file location
You can change the location of temporary files used by the Git Client when running commands.
Change temporary file location (v2.3 and earlier)
- Edit the script 
start-git-clientlocated in:- Windows: 
%GIT_HOME%\mingw64\libexec\git-core\ - UNIX, Linux, and MacOS: 
/usr/libexec/git-core/ 
 - Windows: 
 -  Edit the value of 
GIT_CLIENT_TEMP_DIR. 
Note: The location of start-git-client on your system may be different
Change temporary file location (v2.3.1.1 and later)
- Edit the script 
setup-git-dmlocated in:- Windows: 
%GIT_HOME%\mingw64\libexec\git-core\ - UNIX, Linux, and MacOS: 
/usr/libexec/git-core/ 
 - Windows: 
 -  Edit the value of 
GIT_CLIENT_TEMP_DIR. 
Note: The location of setup-git-dm on your system may be different

                                                        
                                                        
                                                        
                                                        
                                                        
 
                                                                    
                                                                    
                                        
                                        