Git: Parse for-each-ref output as UTF-8
Git: Parse for-each-ref output as UTF-8

Adding a branch with non-ascii chars then refreshing the branch list on
Windows invalidates the branch name.

Change-Id: I59d3e092c66fdcc7cea38a8451de6b5e42cd5de0
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@digia.com>

amyvmiwei/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,kuba1/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,farseerri/git_code,maui-packages/qt-creator,Distrotech/qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,xianian/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,danimo/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,farseerri/git_code,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,kuba1/qtcreator,farseerri/git_code,danimo/qt-creator,Distrotech/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,Distrotech/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator