In this paper, an HIV dynamics model with the proliferation of CD4 T cells is proposed. The authors consider nonnegativity, boundedness, global asymptotic stability of the solutions and bifurcation properties of the steady states. It is proved that the virus is cleared from the host under some conditions if the basic reproduction number $ R_0$ is less than unity. Meanwhile, the model exhibits the phenomenon of backward bifurcation. We also obtain one equilibrium is semi-stable by using center manifold theory. It is proved that the endemic equilibrium is globally asymptotically stable under some conditions if $ R_0$ is greater than unity. It also is proved that the model undergoes Hopf bifurcation from the endemic equilibrium under some conditions. It is novelty that the model exhibits two famous bifurcations,backward bifurcation and Hopf bifurcation. The model is extended to incorporate the specific Cytotoxic T Lymphocytes (CTLs) immune response. Stabilities of equilibria and Hopf bifurcation are considered accordingly. In addition, some numerical simulations for justifying the theoretical analysis results are also given in paper.