cd /var
sudo mkdir teamsserver
sudo chown _teamsserver teamsserver
https://www.testflightapp.com/account/#api
sudo -H -u _teamsserver git config --global testflight.apitoken YOUR_APITOKEN
https://www.testflightapp.com/dashboard/team/edit/
sudo -H -u _teamsserver git config --global testflight.teamtoken YOUR_TEAMTOKEN
In my case use different names to use different teams: testflight.teamOne, testflight.teamTwo
I use the latest commints from a date to implement them as a note TestFlight
git config --global testflight.teamOneLastUpdate "$(date +"%d/%m/%Y %T")"
Hello.. Is this still valid for XCode7?