Here's another AppleScript I wrote. It would be great if Xcode would show the current Git branch and working directory status in the main window. Unfortunately, the only way to see the current branch is to select the Source Control menu. There's no quick way to see if you have uncommitted modifications.
I wrote this AppleScript, which I have bound to ⌥⇧⌘G using FastScripts. It pops up a notification showing the current branch and status.
This is a notification showing the master branch with no changes or additions:
This is what it looks like when there are modifications:
And, this is the notification when there are modifications and additions: