{% if git.tracked %}
{{ git.branch or 'detached' }}
{% if git.upstream %}
{% if git.ahead %}
↑{{ git.ahead }}{% endif %}
{% if git.behind %}
↓{{ git.behind }}{% endif %}
{% if not git.ahead and not git.behind and not git.dirty %}
✓ synced{% endif %}
{% else %}
no remote
{% endif %}
{% if git.dirty %}
●{{ git.dirty }}{% endif %}
{% if git_lfs.available %}
{% if git_lfs.enabled and git_lfs.tracking_assets %}
LFS
{% elif git_lfs.enabled %}
LFS partial
{% else %}
LFS off
{% endif %}
{% endif %}
{% if git_lfs.available and not git_lfs.enabled %}
{% endif %}
{% else %}
No git repo
{% endif %}