style nit: don't put the bug id in the commit message header instead add a bug footer, Gerrit will then render a proper hyperlink. Also include a Gerrit change-id using the commit message hook (see contributor guide how to install that) or EGit

so this should look like:

 Pasting remote git ...

 Bug: 343309
 Change-Id: Ideadbeaf...