Patch Set 3:

Matthias,
For the approach you described, I think the 'Relpace with HEAD' is not a correct description. In first case there's even no content in HEAD.
What do you think about calling the action for example 'Checkout resources' and putting into Team menu?

I have implemented clearing staged version, but after that file appears with '>' sign, however file content is exactly same as in HEAD. Could you give me some hint of how to fix it? Seems I need some refresh statement...