IDEA-12202 Refactorings do not update unused symbol dependency injection annotations
introduce constant from literal: ignore null anchors for non-physical elements (IDEA-118166)
distinct prover: distinguish types when type parameter has bounds (IDEA-118037)
redundant cast: ensure that temp variable would have unique name (IDEA-118197)
[log] IDEA-115568 Don't crash if the log is empty

* Make GitLogProvider check if repository is "fresh" (i.e. has no
  commits) and return empty collection of commits/refs instead of
  querying Git which would result in "fatal: bad revision 'HEAD'".
* Let GraphBuilder accept empty list of commits.
* GraphModelImpl: don't send UpdateRequest if the log size is 0:
  no graph modification is possible in this case, and no graph
  modification can lead to this situation.

  [The only exception is: filter by two branches connected with
  AND (i.e. show commits which contain both in branch A and branch B)
  both of which grow from different root commits. Such filtering is
  not possible from the UI now and is not likely to be supported in
  future.]

* VcsLogDataHolder: prevent smartRefresh for empty log (otherwise the
  VcsLogJoiner will fail to attach new commits to the empty log).
[log] IDEA-115407 Disable graph-only-actions if there is no graph
[git] IDEA-118067 Correctly identify if Update Project should rebase

Probably during String -> GitBranch -> GitLocalBranch transition,
branchName in this code became GitBranch#toString() which is e.g.
refs/heads/master

Fix it by using GitBranch#getName() (which is the short name (e.g.
master) for local branches).