added magit to same-window