Only export GIT_CONFIG_GLOBAL in tmux sessions when already set. An empty value tells git "no global config" vs unset (uses ~/.gitconfig). Also fix stat format detection in SSH permissions test. Co-Authored-By: Claude <noreply@anthropic.com>
Only export GIT_CONFIG_GLOBAL in tmux sessions when already set. An empty value tells git "no global config" vs unset (uses ~/.gitconfig). Also fix stat format detection in SSH permissions test. Co-Authored-By: Claude <noreply@anthropic.com>