Where Are Git Files Stored Linux?
Contents the Global Git Config File Is in ~/. Gitconfig, but There’s Also a “System” Config File, That’s Usually in /Etc/Gitconfig. Where Is. Git File Located?...
The global Git config file is in ~/. gitconfig , but there’s also a “system” config file, that’s usually in /etc/gitconfig .
Where is .GIT file located?
The system level configuration file lives in a gitconfig file off the system root path. $(prefix)/etc/gitconfig on unix systems. On windows this file can be found at C:Documents and SettingsAll UsersApplication DataGitconfig on Windows XP, and in C:ProgramDataGitconfig on Windows Vista and newer.
Must Read
Where is git folder in Ubuntu?
You should use Git to store source code, which should be separate from production code. So you should have a /home/you/src/appname directory with the source code, which is where you should initialize Git. When you are happy with an update, check it into Git and copy it to /var/www/ .