показать статус рабочего дерева (Show the working tree status)
BACKGROUND REFRESH
By default, git status
will automatically refresh the index,
updating the cached stat information from the working tree and
writing out the result. Writing out the updated index is an
optimization that isn't strictly necessary (status
computes the
values for itself, but writing them out is just to save
subsequent programs from repeating our computation). When status
is run in the background, the lock held during the write may
conflict with other simultaneous processes, causing them to fail.
Scripts running status
in the background should consider using
git --no-optional-locks status
(see git(1) for details).